<!--
  @author yangjiangming
  @date 2018/11/26 10:00
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<zmn th:fragment="query">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">工单号：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: inputForCode"></div>
            </div>
            <label class="layui-form-label">服务商：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: remoteSelectForServiceProvider"></div>
            </div>
            <label class="layui-form-label">城市：</label>
            <div class="layui-input-inline input-large">
                <div th:replace="common/listQueryItemTmpl :: selectForCityIdList"></div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">工程师：</label>
            <div class="layui-input-inline" id="master-wrapper">
                <div th:replace="common/listQueryItemTmpl :: selectForMasterId"></div>
            </div>
            <label class="layui-form-label">服务类型：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: selectForServCategId"></div>
            </div>
            <label class="layui-form-label">下单渠道：</label>
            <div class="layui-input-inline input-large">
                <div th:replace="common/listQueryItemTmpl :: selectForChannelIdList"></div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">评价方式：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: selectForCommentType"></div>
            </div>
            <label class="layui-form-label">评星：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: selectForCommentScore"></div>
            </div>
            <label class="layui-form-label">回访：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: selectForReplyVisited"></div>
            </div>
            <div class="layui-input-inline btn-container">
                <div class="layui-btn-container">
                    <div th:replace="common/listQueryItemTmpl :: buttonForSearch"></div>
                    <div th:replace="common/listQueryItemTmpl :: buttonForClean"></div>
                    <div th:replace="common/listQueryItemTmpl :: buttonForExport"></div>
                </div>
            </div>
        </div>
    </div>

    <!-- 评价时间 -->
    <div class="layui-form-item">
        <div th:replace="~{common/listQueryItemTmpl :: commentTime(true)}"></div>
    </div>

    <!-- 上门时间 -->
    <div class="layui-form-item">
        <div th:replace="common/listQueryItemTmpl :: visitTime"></div>
    </div>

    <!-- 派单时间 -->
    <div class="layui-form-item">
        <div th:replace="common/listQueryItemTmpl :: distributeTime"></div>
    </div>

    <!-- 时间选择框 -->
    <div class="layui-form-item">
        <div class="layui-inline layui-inline-left">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline" style="width: 500px">
                <input type="checkbox" title="评价时间" value="0" lay-skin="primary" lay-filter="datepicker" checked>
                <input type="checkbox" title="上门时间" value="1" lay-skin="primary" lay-filter="datepicker">
                <input type="checkbox" title="派单时间" value="2" lay-skin="primary" lay-filter="datepicker">
            </div>
        </div>
    </div>
</zmn>